package com.luoying.itew.util;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * Created by lufan on 2018/5/28
 * Class describe 全局线程池
 */
public class ExecutorUtils {
    private static ExecutorService executorService = Executors.newSingleThreadExecutor();

    private ExecutorUtils (){}

    public static ExecutorService getExecutorService(){
        return executorService;
    }
}
